package io.zt.dangyuan.object;

import java.util.List;

/**
 * Created by 2015-248-pc on 15/7/14.
 */
public class AddressList {


    /**
     * count : 5
     * list : [{"groupname":"一级部门三","groupid":5},{"groupname":"信息中心","groupid":1},{"groupname":"组织部","groupid":2},{"groupname":"一级部门一","groupid":3},{"groupname":"一级部门二","groupid":4}]
     * depname :
     */
    private int count;
    private List<ListEntity> list;
    private String depname;

    public void setCount(int count) {
        this.count = count;
    }

    public void setList(List<ListEntity> list) {
        this.list = list;
    }

    public void setDepname(String depname) {
        this.depname = depname;
    }

    public int getCount() {
        return count;
    }

    public List<ListEntity> getList() {
        return list;
    }

    public String getDepname() {
        return depname;
    }

    public class ListEntity {
        /**
         * groupname : 一级部门三
         * groupid : 5
         */
        private String groupname;
        private int groupid;

        public void setGroupname(String groupname) {
            this.groupname = groupname;
        }

        public void setGroupid(int groupid) {
            this.groupid = groupid;
        }

        public String getGroupname() {
            return groupname;
        }

        public int getGroupid() {
            return groupid;
        }
    }
}
